package com.hbu.ware.hbumallware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hbu.common.utils.PageUtils;
import com.hbu.ware.hbumallware.entity.PurchaseDetailEntity;
import com.hbu.ware.hbumallware.vo.PurchaseDetailListVO;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author zhaoxiaohan
 * @email 13315217827@163.com
 * @date 2022-10-28 12:04:52
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils getList(PurchaseDetailListVO purchaseDetailList);

    List<PurchaseDetailEntity> listDetailByPurchaseId(Long id);

    void updateStatusByPurchaseId(List<Long> ids);

    void updateStatusById(Long itemId, Integer status);
}

